package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class OpinionAccount implements Serializable {
    @ApiModelProperty(value = "账号id")
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "身份 1=人大代表  2=名人   3=群众账号")
    private Byte identity;

    @ApiModelProperty(value = "头像 URL路径（微信头像）")
    private String headPortrait;

    @ApiModelProperty(value = "昵称（微信名称）")
    private String nickName;

    @ApiModelProperty(value = "状态  1=正常 2=拉黑")
    private Byte state;

    @ApiModelProperty(value = "领域")
    private String domain;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "微信的openId")
    private String openId;

    @ApiModelProperty(value = "微信的unionId")
    private String unionId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "拉黑人")
    private Long blockAdminId;

    @ApiModelProperty(value = "拉黑时间")
    private Date blockTime;

    @ApiModelProperty(value = "删除人")
    private Long deleteAdminId;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Byte getIdentity() {
        return identity;
    }

    public void setIdentity(Byte identity) {
        this.identity = identity;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getBlockAdminId() {
        return blockAdminId;
    }

    public void setBlockAdminId(Long blockAdminId) {
        this.blockAdminId = blockAdminId;
    }

    public Date getBlockTime() {
        return blockTime;
    }

    public void setBlockTime(Date blockTime) {
        this.blockTime = blockTime;
    }

    public Long getDeleteAdminId() {
        return deleteAdminId;
    }

    public void setDeleteAdminId(Long deleteAdminId) {
        this.deleteAdminId = deleteAdminId;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", phone=").append(phone);
        sb.append(", identity=").append(identity);
        sb.append(", headPortrait=").append(headPortrait);
        sb.append(", nickName=").append(nickName);
        sb.append(", state=").append(state);
        sb.append(", domain=").append(domain);
        sb.append(", introduction=").append(introduction);
        sb.append(", openId=").append(openId);
        sb.append(", unionId=").append(unionId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", blockAdminId=").append(blockAdminId);
        sb.append(", blockTime=").append(blockTime);
        sb.append(", deleteAdminId=").append(deleteAdminId);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", deleteTime=").append(deleteTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}